package com.ct.entity.vo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description:
 * @Author: cby
 * @Date: 2025/5/23 15:20
 */
public class ReportDataVOFactory implements VOFactory {
    @Override
    public ApprovalStatusVO createApprovalStatusVO(
            Integer travelApprovalPassNum,
            Integer travelApprovalNoPassNum,
            Integer advanceApprovalPassNum,
            Integer advanceApprovalNoPassNum,
            Integer reimbursementApprovalMaPassNum,
            Integer reimbursementApprovalMaNoPassNum,
            Integer reimbursementApprovalFiPassNum,
            Integer reimbursementApprovalFiNoPassNum) {
        return new ApprovalStatusVO(
                travelApprovalPassNum,
                travelApprovalNoPassNum,
                advanceApprovalPassNum,
                advanceApprovalNoPassNum,
                reimbursementApprovalMaPassNum,
                reimbursementApprovalMaNoPassNum,
                reimbursementApprovalFiPassNum,
                reimbursementApprovalFiNoPassNum);
    }

    @Override
    public MapDataVO createMapDataVO(String name, Integer value) {
        return new MapDataVO(name, value);
    }

    @Override
    public ReimbursementReportVO createReimbursementReportVO(Date date, BigDecimal count) {
        return new ReimbursementReportVO(date, count);
    }

}
